<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/12/6
  Time: 17:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>简单前端界面</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 0;
        }

        header {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 1rem;
        }

        nav {
            display: flex;
            justify-content: space-around;
            background-color: #555;
            padding: 1rem 0;
        }

        nav a {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
        }

        nav a:hover {
            background-color: #777;
            border-radius: 5px;
        }

        main {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            padding: 2rem;
        }

        .card {
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 1rem;
            margin: 1rem;
            width: 300px;
        }

        .card h3 {
            margin-top: 0;
        }

        footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 1rem;
            margin-top: 2rem;
        }
    </style>
</head>
<body>
<%--<%=request.getAttribute("url")%>--%>
<%--<%=request.getAttribute("hello").toString()%>--%>
<%--${list}--%>
<header>
    <h1>欢迎来到我的网站</h1>
</header>
<nav>
    <a href="#">首页</a>
    <a href="#">关于我们</a>
    <a href="#">联系我们</a>
</nav>
<main>
    <div class="card">
        <h3>卡片1</h3>
        <p>这是一个简单的卡片，你可以在这里添加更多的内容。</p>
    </div>
    <div class="card">
        <h3>卡片2</h3>
        <p>这是一个简单的卡片，你可以在这里添加更多的内容。</p>
    </div>
    <div class="card">
        <h3>卡片3</h3>
        <p>这是一个简单的卡片，你可以在这里添加更多的内容。</p>
    </div>
</main>
<footer>
    &copy; 2022 我的网站. All rights reserved.
</footer>
</body>
</html>
